Skip to content

test: optionally enable ccache for test runs - #2275

Closed
alfreb wants to merge 3 commits into
includeos:v0.16.0-releasefrom
alfreb:test.sh-ccache
Closed

test: optionally enable ccache for test runs#2275
alfreb wants to merge 3 commits into
includeos:v0.16.0-releasefrom
alfreb:test.sh-ccache

Conversation

@alfreb

@alfreb alfreb commented Sep 7, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@MagnusS

MagnusS commented Sep 7, 2024

Copy link
Copy Markdown
Member

Nice to have a test flag for this! But I think to avoid a "broken default" for some users it should be disabled by default, and e.g. enabled explicitly on the command line. Ccache requires local nix configuration changes before it will work. Then it would also match how it's used for nix-build/nix-shell.

There's also at least a theoretical chance that ccache is too aggressive and gives you old build artefacts, so could be useful to encourage running the final tests without it unless you know you really want to use it :-)

- Add smp parameter to nix default, shell, and overlay. Enable with --arg smp true.
- Added multiple cores to paging, UDP and exceptions tests, add them to an SMP test set.
- Enable boot logger to tests make it easier toverify that multiple cores come up.
- Disable SMP for chainloader. It would be nice to test 32 bit multicore, but not in there.
@alfreb

alfreb commented Sep 8, 2024

Copy link
Copy Markdown
Contributor Author

Sure, we can do that.

@alfreb
alfreb requested a review from MagnusS September 8, 2024 08:03
@alfreb alfreb changed the title test: Enable ccache by default for test runs test: optionally enable ccache for test runs Sep 8, 2024
@alfreb alfreb closed this Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants